package com.shopping.runbackground.user.service;

import com.shopping.runbackground.user.pojo.Sysadmin;

import java.util.List;

public interface UserService {
    Sysadmin login(Sysadmin sysadmin);

    List<Sysadmin> findUsers(Sysadmin sysadmin);

    Sysadmin findUserByusername(String username);

    void addUser(Sysadmin sysadmin);
}
